package com.wisely.xxboot.dao;

import java.io.Serializable;

/**
 * <p>Description:</p>
 * <p>Copyright: Copyright (c) 2017</p>
 * <p>Company: 中视数讯</p>
 * <p>Site: www.digi-zones.com</p>
 *
 * @author shengping
 * @version 1.0
 * @date 2017/7/3
 */
//此类必须用时间序列号接口，因为使用jackson做序列化需要一个空构造
public class RedisPerson implements Serializable {

    private String id;
    private String name;
    private Integer age;

    public RedisPerson(){
        super();
    }

    public RedisPerson(String id, String name, Integer age) {
        super();
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
